/**
 * Created by Administrator on 2016/7/30.
 */

window.onload= function () {
    var c=document.querySelector('.hert1');
    var cxt=c.getContext("2d");
    cxt.beginPath();
    cxt.moveTo(7.5,4.0);
    cxt.bezierCurveTo(7.5,3.7,7.0,2.5,5.0,2.5);
    cxt.bezierCurveTo(2.0,2.5,2.0,6.25,2.0,6.25);
    cxt.bezierCurveTo(2.0,8.0,4.0,10.2,7.5,12.0);
    cxt.bezierCurveTo(11.0,10.2,13.0,8.0,13.0,6.25);
    cxt.bezierCurveTo(13.0,6.25,13.0,2.5,10.0,2.5);
    cxt.bezierCurveTo(8.5,2.5,7.5,3.7,7.5,4.0);
    cxt.stroke();
}
